/*
 * ManualesWebSource.java
 *
 * Created on August 13, 2007, 6:25 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.computec.manualesweb.source;

import java.util.ResourceBundle;

/**
 *
 * @author FSanchez
 */
public class ManualesWebSource {
    protected static ManualesWebSource manualesWebSource;
    
    private static ResourceBundle manualesWebSetup;
    private static ResourceBundle manualesWebErrorSetup; 
    
    /** Creates a new instance of ManualesWebSource */
    public ManualesWebSource() {
	manualesWebSetup = ResourceBundle.getBundle("ManualWebSetup");
        manualesWebErrorSetup = ResourceBundle.getBundle("ManualWebErrorSetup");        
    }
    
     public static ManualesWebSource getInstance() {
        if (manualesWebSource == null) {
            manualesWebSource = new ManualesWebSource();
        }
        return manualesWebSource;
    }
     
     public String getManualesWebSetupKey(String key) {
        return manualesWebSetup.getString(key); 
    }
   
    public String getManualesWebErrorSetupKey(String key) {
        return manualesWebErrorSetup.getString(key); 
    }    
}
